mod front_of_house;
// use简化路径
pub use crate::front_of_house::hosting;

pub fn eat_at_restaurant() {
    // 绝对路径
    // crate::front_of_house::hosting::add_to_waitlist();

    hosting::add_to_waitlist();

    // 相对路径
    // front_of_house::hosting::add_to_waitlist();

    // let mut meal = back_of_house::Breakfast::summer("Rye");

    // meal.toast = String::from("Wheat");

    // println!("I'd like {} toast please", meal.toast);

    // let order1 = back_of_house::Appetizer::Soup;
    // let order2 = back_of_house::Appetizer::Salad;
    // meal.seasonal_fruit = String::from("blueberries");
}
pub mod hosting;